export const tableComponentConfig = {
  removeButton: () =>
    import('@/common/views/baseComponent/tableComp/removeButton.vue'),
};
// 当前表格要渲染哪些值
export const tableRenderKeys = [
  'index',
  'unSecretLevelName',
  'billStatusName',
  'validFlag',
  'billNo',
  'projectName',
  'zeroCategoryName',
  'listNum',
  'unCreator',
  'unCreateTime',
  'undertakingUnit',
  'controlNo',
  'materialNo',
  'materialName',
  'drawingNumber',
  'edition',
  'machiningName',
  'categoryLv3',
  'supplierCode',
  'supplierName',
  'singleCauseDescribe',
  'singleCauseName',
  'model',
  'specifications',
  'supplyStatus',
  'technicalStandard',
  'expirationDate',
  'effectiveStartTime',
  'effectiveEndTime',
  'remarks',
];

export const tableRenderConfig = {
  unSecretLevelName: {
    title: '密级',
    dataIndex: 'unSecretLevel',
    slotName: 'unSecretLevel',
    width: 80,
  },
  billStatusName: {
    title: '单据状态',
    dataIndex: 'billStatusName',
    width: 120,
  },
  validFlag: {
    title: '有效状态',
    dataIndex: 'validFlagName',
    width: 120,
  },
  billNo: {
    title: '单据编号',
    dataIndex: 'billNo',
    width: 120,
  },
  projectName: {
    title: '项目',
    dataIndex: 'projectName',
    width: 120,
  },
  zeroCategoryName: {
    title: '零级品类',
    dataIndex: 'zeroCategoryName',
    width: 120,
  },
  listNum: {
    title: '清单总数',
    dataIndex: 'listNum',
    width: 120,
  },
  unCreator: {
    title: '编制人',
    dataIndex: 'unCreator',
    width: 120,
  },
  unCreateTime: {
    title: '编制时间',
    dataIndex: 'unCreateTime',
    width: 120,
  },
  undertakingUnit: {
    title: '承办人单位',
    dataIndex: 'undertakingUnit',
    width: 120,
  },
  controlNo: {
    title: '控制项编号',
    dataIndex: 'controlNo',
    width: 120,
  },
  materialNo: {
    title: '物料编码',
    dataIndex: 'materialNo',
    width: 120,
  },
  materialName: {
    title: '物料名称',
    dataIndex: 'materialName',
    width: 120,
  },
  drawingNumber: {
    title: '图号',
    dataIndex: 'drawingNumber',
    width: 120,
  },
  edition: {
    title: '版次',
    dataIndex: 'edition',
    width: 120,
  },
  machiningName: {
    title: '加工内容',
    dataIndex: 'machiningName',
    width: 120,
  },
  categoryLv3: {
    title: '三级品类名称',
    dataIndex: 'categoryLv3',
    width: 120,
  },
  supplierCode: {
    title: '供应商编码',
    dataIndex: 'supplierCode',
    width: 120,
  },
  supplierName: {
    title: '供应商名称',
    dataIndex: 'supplierName',
    width: 120,
  },
  singleCauseName: {
    title: '单一来源原因',
    dataIndex: 'singleCauseName',
    width: 120,
  },
  singleCauseDescribe: {
    title: '单一来源描述',
    dataIndex: 'singleCauseDescribe',
    width: 120,
  },
  model: {
    title: '型号/牌号',
    dataIndex: 'model',
    width: 120,
  },
  specifications: {
    title: '规格',
    dataIndex: 'specifications',
    width: 120,
  },
  supplyStatus: {
    title: '供应状态',
    dataIndex: 'supplyStatus',
    width: 120,
  },
  technicalStandard: {
    title: '技术标准/协议标准',
    dataIndex: 'technicalStandard',
    width: 150,
  },
  expirationDate: {
    title: '失效日期',
    dataIndex: 'expirationDate',
    width: 120,
  },
  effectiveStartTime: {
    title: '有效起始日期',
    dataIndex: 'effectiveStartTime',
    width: 120,
  },
  effectiveEndTime: {
    title: '有效截止日期',
    dataIndex: 'effectiveEndTime',
    width: 120,
  },
  remarks: {
    title: '备注',
    dataIndex: 'remarks',
    width: 120,
  },
};
